iShell Help
Tribeworks > iShell > Help >
  Duration
   
The Timing of an element has a number of attributes. Any element with timing can act like a timer to control sequencing. Tween, Time and Finished events are controlled by the Timing of the container element. Run, Set Rate, Set Time, and Set Tweener, commands are effected by the Duration of the target element. Movie and Sound elements get their durations from their media - so they have their own kind of Timing attribute. Panoramas have no Timing attribute, but all other Model elements have a common Timing Attribute.

Options

  • Duration: An integer representing the duration. If the Duration is set by the media, then it can only be changed by changing the media.
  • TimeScale: Second, 10/s, Ticks, 100/s, 1000/s are different time scales. They are the units that determine how long the duration is in seconds. Ticks are 1/60 of a second (or 60/second) and are a common unit for computers and NTSC video.
  • Looping: The Looping attribute determines if the time of the element will automatically reset to zero and continue to play again when it reaches the duration
  • Rate: The Rate attribute is not editable. The initial rate is 100% and can be changed with the Set Rate command.
  • Running: The Running attribute is not editable. The initially state is false, but it can be set during runtime with the Run command or manually with the Sound or Movie controller.
  • Time: The Time attribute is not editable. The initial time is either 0 or determined by the media. The time is represented in the TimeScale. This attribute can be set with the Set Time command and will be dynamic when the element is running.